package com.qijian.business.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@ToString
public class OrderItemVo {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "物料id")
    private Long itemId;

    @ApiModelProperty(value = "物料名称")
    private String itemName;

    @ApiModelProperty(value = "物料代码")
    private String itemCode;

    @ApiModelProperty("物料净重")
    private BigDecimal itemWeight;

    @ApiModelProperty("物料单位")
    private String itemUnits;

    @ApiModelProperty(value = "物料类型")
    private String  itemClassify;

    @ApiModelProperty(value = "物料类型")
    private String itemType;

    @ApiModelProperty(value = "物料规格")
    private String itemSpec;

    @ApiModelProperty("生产订单号规则头")
    private String orderNoBegin;
}
